package search.restapi;

import com.fasterxml.jackson.databind.ObjectMapper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import search.config.MediaTypes;


import javax.annotation.PostConstruct;
import javax.inject.Inject;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;

@Path("/v1/manage")
@Produces(MediaTypes.JSON_UTF8)
@Component
public class ManageRestAPI {
    final Logger logger = LoggerFactory.getLogger(ManageRestAPI.class);

    private final ObjectMapper mapper;


    @Inject
    public ManageRestAPI(
            ObjectMapper mapper
    ) {

        this.mapper = mapper;
    }

    @PostConstruct
    public void init(){
        logger.info("Initialized /v1/manage/ Successfully!");
    }


}

